package com.cardone.common.service;

import com.cardone.common.dao.SimpleDao;
import com.cardone.common.po.PoBase;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * 简易 service
 *
 * @author yaohaitao
 */
@Transactional(readOnly = true)
public interface SimpleService<D extends PoBase> extends SimpleDao<D> {
    @Transactional(propagation = Propagation.NOT_SUPPORTED)
    void init();
}
